package com.vhall.component.service.watchlimit;

import com.vhall.component.entity.room.vo.ApplyEntityDTO;
import com.vhall.component.entity.watchlimit.dto.ApplyUserEntityDTO;
import com.vhall.component.entity.watchlimit.dto.WhiteAccountsEntityDTO;

/**
 * @author lsl
 * @since 2021/6/25 17:15
 */
public interface WatchLimitInnerService {

    /**
     * checkWhiteAccount
     *
     * @param roomId   房间id
     * @param password 密码
     * @param phone    电话
     * @return 返回值
     */
    Boolean checkWhiteAccount(String roomId, String password, String phone);

    /**
     * 根据房间id获取房间报名信息
     *
     * @param ilId 房间id
     * @return
     */
    ApplyEntityDTO getApply(String ilId);

    /**
     * getApplyUserByPhoneAndIlId
     *
     * @param ilId  房间id
     * @param phone 电话
     * @return 返回值
     */
    ApplyUserEntityDTO getApplyUserByPhoneAndIlId(Integer ilId, Long phone);

    /**
     * getWhiteAccountsByNameAndIlId
     *
     * @param ilId      房间id
     * @param whitename whitename
     * @return 返回值
     */
    WhiteAccountsEntityDTO getWhiteAccountsByNameAndIlId(Integer ilId, Long whitename);
}
